package com.open.pokergames.conn.bean;

import java.util.ArrayList;

/**
 * 编写 Liang Y.T.
 * 时间 2021/7/16 14:24
 */
public class Player {
    // 账号
    private String account;

    // 名称
    private String playerName;

    // 头像
    private String playerAvatar;

    // 剩余币
    private int ownCoins;

    // 上轮投注
    private int preCast;

    // 上轮选中的加注值
    private int preAddCast;

    // 到上轮本局总投注
    private int preAllCast;

    // 本局输赢值
    private int preWinCast;

    // 位置
    private String seatNum;

    // 底牌
    private ArrayList<String> userPokers;

    // 最大牌
    private ArrayList<String> maxPokers;

    // 次轮是否已说过话：
    private boolean hasSpeak;

    // 上次操作状态：跟注、弃牌、加注、看牌、ALLIN
    public int optState;

    // 用户状态: 0.游客 1.坐下 2.游戏中 3.退出 9. 空用户
    public int runState;

    // 状态: 0.正在说话 1.等待中
    public int playState;

    // 比较结果
    private boolean winner;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPlayerName() {
        return playerName;
    }

    public void setPlayerName(String playerName) {
        this.playerName = playerName;
    }

    public String getPlayerAvatar() {
        return playerAvatar;
    }

    public void setPlayerAvatar(String playerAvatar) {
        this.playerAvatar = playerAvatar;
    }

    public int getOwnCoins() {
        return ownCoins;
    }

    public void setOwnCoins(int ownCoins) {
        this.ownCoins = ownCoins;
    }

    public int getPreCast() {
        return preCast;
    }

    public void setPreCast(int preCast) {
        this.preCast = preCast;
    }

    public int getPreAllCast() {
        return preAllCast;
    }

    public void setPreAllCast(int preAllCast) {
        this.preAllCast = preAllCast;
    }

    public String getSeatNum() {
        return seatNum;
    }

    public void setSeatNum(String seatNum) {
        this.seatNum = seatNum;
    }

    public ArrayList<String> getUserPokers() {
        return userPokers;
    }

    public void setUserPokers(ArrayList<String> userPokers) {
        this.userPokers = userPokers;
    }

    public ArrayList<String> getMaxPokers() {
        return maxPokers;
    }

    public void setMaxPokers(ArrayList<String> maxPokers) {
        this.maxPokers = maxPokers;
    }

    public boolean isHasSpeak() {
        return hasSpeak;
    }

    public void setHasSpeak(boolean hasSpeak) {
        this.hasSpeak = hasSpeak;
    }

    public int getOptState() {
        return optState;
    }

    public void setOptState(int optState) {
        this.optState = optState;
    }

    public int getRunState() {
        return runState;
    }

    public void setRunState(int runState) {
        this.runState = runState;
    }

    public int getPlayState() {
        return playState;
    }

    public void setPlayState(int playState) {
        this.playState = playState;
    }

    public boolean isWinner() {
        return winner;
    }

    public void setWinner(boolean winner) {
        this.winner = winner;
    }

    public int getPreWinCast() {
        return preWinCast;
    }

    public void setPreWinCast(int preWinCast) {
        this.preWinCast = preWinCast;
    }

    public int getPreAddCast() {
        return preAddCast;
    }

    public void setPreAddCast(int preAddCast) {
        this.preAddCast = preAddCast;
    }
}
